package models

type User struct {
	Id      int    `gorm:"type:int" json:"id"`
	Name    string `gorm:"type:varchar(20)" json:"name"`
	Age     int    `gorm:"type:int(10)" json:"age"`
	Tel     string `gorm:"type:char(11)" json:"tel"`
	Address string `gorm:"type:varchar(20)" json:"address"`
	Rank    string `gorm:"enum('有','无')" json:"rank"`
}
